package com.ssy.system.vo;

import com.ssy.common.Constant;
import com.ssy.system.pojo.Dictionaries;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ssy
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DictionariesVo extends Dictionaries {

    private static final long serialVersionUID = -5252563559991552156L;

    private Integer page = Constant.PAGE;

    private Integer limit = Constant.LIMIT;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
